From 3e5b18bb11a24066fcd6aa163144534309b54df6 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 30 Dec 2025 14:35:21 +0100 Subject: [PATCH] grabHelper: Drop seat state check after grab Grabs are non-failable now, we do not need to check for the backend seat actually having been able to perform the request. Part-of: --- js/ui/grabHelper.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/ui/grabHelper.js b/js/ui/grabHelper.js index 9212c1684..0e287d018 100644 --- a/js/ui/grabHelper.js +++ b/js/ui/grabHelper.js @@ -154,11 +154,6 @@ export class GrabHelper { const firstGrab = this._modalCount === 0; if (firstGrab) { const grab = Main.pushModal(this._owner, this._modalParams); - if (grab.get_seat_state() !== Clutter.GrabState.ALL) { - Main.popModal(grab); - return false; - } - this._grab = grab; this._clickGesture = new Clutter.ClickGesture(); this._clickGesture.connect('recognize', () => { -- 2.39.5